home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- #include "stdafx.h"
- #include "qcgrpbut.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CQCGrpBut
-
- IMPLEMENT_DYNCREATE(CQCGrpBut, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CQCGrpBut properties
-
- CString CQCGrpBut::GetControlTitleFont()
- {
- CString result;
- GetProperty(0x1, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlTitleFont(LPCTSTR propVal)
- {
- SetProperty(0x1, VT_BSTR, propVal);
- }
-
- long CQCGrpBut::GetControlTitleColor()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlTitleColor(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlTitleFontStyle()
- {
- long result;
- GetProperty(0x3, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlTitleFontStyle(long propVal)
- {
- SetProperty(0x3, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlTitleFontSize()
- {
- long result;
- GetProperty(0x4, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlTitleFontSize(long propVal)
- {
- SetProperty(0x4, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlBorderStyle()
- {
- long result;
- GetProperty(0x5, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlBorderStyle(long propVal)
- {
- SetProperty(0x5, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlBorderColor()
- {
- long result;
- GetProperty(0x6, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlBorderColor(long propVal)
- {
- SetProperty(0x6, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlColor()
- {
- long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlColor(long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlBackgroundColor()
- {
- long result;
- GetProperty(0x8, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlBackgroundColor(long propVal)
- {
- SetProperty(0x8, VT_I4, propVal);
- }
-
- double CQCGrpBut::GetControlBottom()
- {
- double result;
- GetProperty(0x9, VT_R8, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlBottom(double propVal)
- {
- SetProperty(0x9, VT_R8, propVal);
- }
-
- double CQCGrpBut::GetControlLeft()
- {
- double result;
- GetProperty(0xa, VT_R8, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlLeft(double propVal)
- {
- SetProperty(0xa, VT_R8, propVal);
- }
-
- double CQCGrpBut::GetControlRight()
- {
- double result;
- GetProperty(0xb, VT_R8, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlRight(double propVal)
- {
- SetProperty(0xb, VT_R8, propVal);
- }
-
- double CQCGrpBut::GetControlTop()
- {
- double result;
- GetProperty(0xc, VT_R8, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlTop(double propVal)
- {
- SetProperty(0xc, VT_R8, propVal);
- }
-
- long CQCGrpBut::GetControlBorderThickness()
- {
- long result;
- GetProperty(0xd, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlBorderThickness(long propVal)
- {
- SetProperty(0xd, VT_I4, propVal);
- }
-
- CString CQCGrpBut::GetControlTitleString()
- {
- CString result;
- GetProperty(0xe, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlTitleString(LPCTSTR propVal)
- {
- SetProperty(0xe, VT_BSTR, propVal);
- }
-
- long CQCGrpBut::GetControlButtonStyle()
- {
- long result;
- GetProperty(0xf, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlButtonStyle(long propVal)
- {
- SetProperty(0xf, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlButtonLook()
- {
- long result;
- GetProperty(0x10, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlButtonLook(long propVal)
- {
- SetProperty(0x10, VT_I4, propVal);
- }
-
- CString CQCGrpBut::GetControllButtonString()
- {
- CString result;
- GetProperty(0x11, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControllButtonString(LPCTSTR propVal)
- {
- SetProperty(0x11, VT_BSTR, propVal);
- }
-
- BOOL CQCGrpBut::GetControlButtonLeftText()
- {
- BOOL result;
- GetProperty(0x12, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlButtonLeftText(BOOL propVal)
- {
- SetProperty(0x12, VT_BOOL, propVal);
- }
-
- long CQCGrpBut::GetControlNumButtons()
- {
- long result;
- GetProperty(0x13, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlNumButtons(long propVal)
- {
- SetProperty(0x13, VT_I4, propVal);
- }
-
- BOOL CQCGrpBut::GetControlButtonHorizontal()
- {
- BOOL result;
- GetProperty(0x14, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlButtonHorizontal(BOOL propVal)
- {
- SetProperty(0x14, VT_BOOL, propVal);
- }
-
- long CQCGrpBut::GetControlOffColor()
- {
- long result;
- GetProperty(0x15, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlOffColor(long propVal)
- {
- SetProperty(0x15, VT_I4, propVal);
- }
-
- long CQCGrpBut::GetControlButtonState()
- {
- long result;
- GetProperty(0x16, VT_I4, (void*)&result);
- return result;
- }
-
- void CQCGrpBut::SetControlButtonState(long propVal)
- {
- SetProperty(0x16, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CQCGrpBut operations
-
- long CQCGrpBut::ChangeButtonState(long nSel)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x17, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- nSel);
- return result;
- }
-
- void CQCGrpBut::ChangeButtonColor(long rgbNewColor, long nSel)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- rgbNewColor, nSel);
- }
-
- void CQCGrpBut::UpdateControl()
- {
- InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void CQCGrpBut::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-